package RadianceM.DistributionSystem.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@Schema(
        name = "Third",
        title = "第三方账号表",
        description = ""
)
@TableName(value = "users_third")
public class Third {

    @Schema(title = "用户id", description = "")
    @TableId(value = "user_id")
    private Long userId;

    @Schema(title = "第三方账号类型", description = "")
    @TableField(value = "dictionary_third_type")
    private Long dictionaryThirdType;

    @Schema(title = "第三方账号", description = "")
    @TableField(value = "third_uid")
    private String uid;
}
